package com.dianjing.dianqun.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dianjing.dianqun.common.base.CrudMpper;
import com.dianjing.dianqun.model.Channel;

public interface ChannelMapper extends CrudMpper<Channel> {
	int deleteByPrimaryKey(Integer channelId);

	int insert(Channel record);

	int insertSelective(Channel record);

	Channel selectByPrimaryKey(Integer channelId);

	int updateByPrimaryKeySelective(Channel record);

	int updateByPrimaryKey(Channel record);

	List<Channel> selectBySiteId(@Param("siteId") Integer siteId);

}